from applications.extensions import ma
from marshmallow import fields



class YeOperationSettingSchema(ma.Schema):

    id = fields.Integer()
    alias = fields.Str()
    remarks = fields.Str()
    operation_type = fields.Str()
    position_way = fields.Str()
    position_x = fields.Float()
    position_y = fields.Float()
    wait_time = fields.Integer()
    picture_url = fields.Str()
    feature_point = fields.Integer()
    operation_order = fields.Integer()
    sliding_length = fields.Float()
    slide_direction = fields.Float()
    text_content = fields.Str()
    create_time = fields.DateTime()
    update_time = fields.DateTime()
    detection_id =  fields.Integer()
